Skip to content

ast: catch functions in dynamic extent of ref head rule#8468

Open
srenatus wants to merge 1 commit intoopen-policy-agent:mainfrom
srenatus:sr/uvqrklpwsqyq
Open

ast: catch functions in dynamic extent of ref head rule#8468
srenatus wants to merge 1 commit intoopen-policy-agent:mainfrom
srenatus:sr/uvqrklpwsqyq

Conversation

@srenatus
Copy link
Copy Markdown
Contributor

@srenatus srenatus commented Apr 1, 2026

These currently fail, as laid out in #8461.

With this change, we'll return a controlled error, and don't let the user run into an NPE or a cryptic error.

Fixes #8461.

These currently fail, as laid out in open-policy-agent#8461.

With this change, we'll return a controlled error, and don't let the
user run into an NPE or a cryptic error.

Fixes open-policy-agent#8461.

Signed-off-by: Stephan Renatus <stephan.renatus@gmail.com>
@netlify
Copy link
Copy Markdown

netlify bot commented Apr 1, 2026

Deploy Preview for openpolicyagent ready!

Name Link
🔨 Latest commit d64e988
🔍 Latest deploy log https://app.netlify.com/projects/openpolicyagent/deploys/69cd0d7c07bb570008a2804b
😎 Deploy Preview https://deploy-preview-8468--openpolicyagent.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@srenatus srenatus marked this pull request as ready for review April 1, 2026 12:26
@srenatus srenatus requested a review from johanfylling April 1, 2026 17:14
Copy link
Copy Markdown
Contributor

@johanfylling johanfylling left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Don't allow functions within dynamic extent of ref-head rules

2 participants